<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qt for CoolQ: CoolQ::ServiceEngine类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qt for CoolQ
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>CoolQ</b></li><li class="navelem"><a class="el" href="class_cool_q_1_1_service_engine.html">ServiceEngine</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_cool_q_1_1_service_engine-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CoolQ::ServiceEngine类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>服务引擎类  
 <a href="class_cool_q_1_1_service_engine.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa4b6fe9c22cf718fa7ff751a8fe2b4d6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#aa4b6fe9c22cf718fa7ff751a8fe2b4d6">ServiceEngine</a> (QObject *parent)</td></tr>
<tr class="memdesc:aa4b6fe9c22cf718fa7ff751a8fe2b4d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="#aa4b6fe9c22cf718fa7ff751a8fe2b4d6">更多...</a><br /></td></tr>
<tr class="separator:aa4b6fe9c22cf718fa7ff751a8fe2b4d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d69543cb88d3cbc04f1249769cd0dec"><td class="memItemLeft" align="right" valign="top"><a id="a4d69543cb88d3cbc04f1249769cd0dec"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a4d69543cb88d3cbc04f1249769cd0dec">~ServiceEngine</a> ()</td></tr>
<tr class="memdesc:a4d69543cb88d3cbc04f1249769cd0dec"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a4d69543cb88d3cbc04f1249769cd0dec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf0631d90b011413a7f572f41eb250c7"><td class="memItemLeft" align="right" valign="top"><a id="acf0631d90b011413a7f572f41eb250c7"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#acf0631d90b011413a7f572f41eb250c7">initialize</a> () override</td></tr>
<tr class="memdesc:acf0631d90b011413a7f572f41eb250c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">标准初始化函数 <br /></td></tr>
<tr class="separator:acf0631d90b011413a7f572f41eb250c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a886d670a155e0cb0ec069ab39abf54eb"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a886d670a155e0cb0ec069ab39abf54eb">privateMessageEvent</a> (const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a886d670a155e0cb0ec069ab39abf54eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">私有消息过滤器  <a href="#a886d670a155e0cb0ec069ab39abf54eb">更多...</a><br /></td></tr>
<tr class="separator:a886d670a155e0cb0ec069ab39abf54eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a906496560eae3711e0d4f9be104ef2a1"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a906496560eae3711e0d4f9be104ef2a1">groupMessageEvent</a> (const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a906496560eae3711e0d4f9be104ef2a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">群组消息过滤器  <a href="#a906496560eae3711e0d4f9be104ef2a1">更多...</a><br /></td></tr>
<tr class="separator:a906496560eae3711e0d4f9be104ef2a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f5ef58a228cd1ee1970f18b2607590a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a9f5ef58a228cd1ee1970f18b2607590a">discussMessageEvent</a> (const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a9f5ef58a228cd1ee1970f18b2607590a"><td class="mdescLeft">&#160;</td><td class="mdescRight">讨论组消息过滤器  <a href="#a9f5ef58a228cd1ee1970f18b2607590a">更多...</a><br /></td></tr>
<tr class="separator:a9f5ef58a228cd1ee1970f18b2607590a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87c508a34ea34b5ce4f2121039833840"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a87c508a34ea34b5ce4f2121039833840">masterChangeEvent</a> (const <a class="el" href="struct_cool_q_1_1_master_change_event.html">MasterChangeEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a87c508a34ea34b5ce4f2121039833840"><td class="mdescLeft">&#160;</td><td class="mdescRight">管理员变更事件过滤器  <a href="#a87c508a34ea34b5ce4f2121039833840">更多...</a><br /></td></tr>
<tr class="separator:a87c508a34ea34b5ce4f2121039833840"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad86389fa612e90e345401be423c9a75"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#aad86389fa612e90e345401be423c9a75">friendRequestEvent</a> (const <a class="el" href="struct_cool_q_1_1_friend_request_event.html">FriendRequestEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:aad86389fa612e90e345401be423c9a75"><td class="mdescLeft">&#160;</td><td class="mdescRight">好友请求事件过滤器  <a href="#aad86389fa612e90e345401be423c9a75">更多...</a><br /></td></tr>
<tr class="separator:aad86389fa612e90e345401be423c9a75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf227d835c99b6cff98e4337fcd7af4f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#adf227d835c99b6cff98e4337fcd7af4f">groupRequestEvent</a> (const <a class="el" href="struct_cool_q_1_1_group_request_event.html">GroupRequestEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:adf227d835c99b6cff98e4337fcd7af4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">加入群组事件过滤器  <a href="#adf227d835c99b6cff98e4337fcd7af4f">更多...</a><br /></td></tr>
<tr class="separator:adf227d835c99b6cff98e4337fcd7af4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eef476faa263b318a6c835c86d33d50"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a0eef476faa263b318a6c835c86d33d50">friendAddEvent</a> (const <a class="el" href="struct_cool_q_1_1_friend_add_event.html">FriendAddEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a0eef476faa263b318a6c835c86d33d50"><td class="mdescLeft">&#160;</td><td class="mdescRight">好友添加事件过滤器  <a href="#a0eef476faa263b318a6c835c86d33d50">更多...</a><br /></td></tr>
<tr class="separator:a0eef476faa263b318a6c835c86d33d50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad68859ef2565df3ff0463126f6f09ab"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#aad68859ef2565df3ff0463126f6f09ab">memberJoinEvent</a> (const <a class="el" href="struct_cool_q_1_1_member_join_event.html">MemberJoinEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:aad68859ef2565df3ff0463126f6f09ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">成员添加事件过滤器  <a href="#aad68859ef2565df3ff0463126f6f09ab">更多...</a><br /></td></tr>
<tr class="separator:aad68859ef2565df3ff0463126f6f09ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8890bc2a4536435f295635756d64e12c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a8890bc2a4536435f295635756d64e12c">memberLeaveEvent</a> (const <a class="el" href="struct_cool_q_1_1_member_leave_event.html">MemberLeaveEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a8890bc2a4536435f295635756d64e12c"><td class="mdescLeft">&#160;</td><td class="mdescRight">成员退出事件过滤器  <a href="#a8890bc2a4536435f295635756d64e12c">更多...</a><br /></td></tr>
<tr class="separator:a8890bc2a4536435f295635756d64e12c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_cool_q_1_1_interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_cool_q_1_1_interface')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_cool_q_1_1_interface.html">CoolQ::Interface</a></td></tr>
<tr class="memitem:a285ff6696f33f6149830be528068fbaa inherit pub_methods_class_cool_q_1_1_interface"><td class="memItemLeft" align="right" valign="top"><a id="a285ff6696f33f6149830be528068fbaa"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_interface.html#a285ff6696f33f6149830be528068fbaa">~Interface</a> ()</td></tr>
<tr class="memdesc:a285ff6696f33f6149830be528068fbaa inherit pub_methods_class_cool_q_1_1_interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a285ff6696f33f6149830be528068fbaa inherit pub_methods_class_cool_q_1_1_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a0039428f19f148edd959f9edaa8ae87d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_cool_q_1_1_service_engine.html">ServiceEngine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_service_engine.html#a0039428f19f148edd959f9edaa8ae87d">instance</a> ()</td></tr>
<tr class="memdesc:a0039428f19f148edd959f9edaa8ae87d"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回单例函数  <a href="#a0039428f19f148edd959f9edaa8ae87d">更多...</a><br /></td></tr>
<tr class="separator:a0039428f19f148edd959f9edaa8ae87d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_methods_class_cool_q_1_1_interface"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_cool_q_1_1_interface')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_cool_q_1_1_interface.html">CoolQ::Interface</a></td></tr>
<tr class="memitem:af3872b8d3be740401c3540ca99f04df9 inherit pro_methods_class_cool_q_1_1_interface"><td class="memItemLeft" align="right" valign="top"><a id="af3872b8d3be740401c3540ca99f04df9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cool_q_1_1_interface.html#af3872b8d3be740401c3540ca99f04df9">Interface</a> (InterfacePrivate &amp;dd, QObject *parent)</td></tr>
<tr class="memdesc:af3872b8d3be740401c3540ca99f04df9 inherit pro_methods_class_cool_q_1_1_interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数 <br /></td></tr>
<tr class="separator:af3872b8d3be740401c3540ca99f04df9 inherit pro_methods_class_cool_q_1_1_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>服务引擎类 </p>
</div><div class="dynheader">
类 CoolQ::ServiceEngine 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_cool_q_1_1_service_engine.png" usemap="#CoolQ::ServiceEngine_map" alt=""/>
  <map id="CoolQ::ServiceEngine_map" name="CoolQ::ServiceEngine_map">
<area href="class_cool_q_1_1_interface.html" title="通用接口类 " alt="CoolQ::Interface" shape="rect" coords="0,0,137,24"/>
</map>
 </div></div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="aa4b6fe9c22cf718fa7ff751a8fe2b4d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4b6fe9c22cf718fa7ff751a8fe2b4d6">&#9670;&nbsp;</a></span>ServiceEngine()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CoolQ::ServiceEngine::ServiceEngine </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造函数 </p>
<p>构造一个 ServiceEngine，同时只允许一个 Engine 的存在。 </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a9f5ef58a228cd1ee1970f18b2607590a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f5ef58a228cd1ee1970f18b2607590a">&#9670;&nbsp;</a></span>discussMessageEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::discussMessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>讨论组消息过滤器 </p>
<p>过滤讨论组消息。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="a0eef476faa263b318a6c835c86d33d50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0eef476faa263b318a6c835c86d33d50">&#9670;&nbsp;</a></span>friendAddEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::friendAddEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_friend_add_event.html">FriendAddEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>好友添加事件过滤器 </p>
<p>过滤好友添加的事件。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="aad86389fa612e90e345401be423c9a75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad86389fa612e90e345401be423c9a75">&#9670;&nbsp;</a></span>friendRequestEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::friendRequestEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_friend_request_event.html">FriendRequestEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>好友请求事件过滤器 </p>
<p>过滤好友请求的事件。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="a906496560eae3711e0d4f9be104ef2a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a906496560eae3711e0d4f9be104ef2a1">&#9670;&nbsp;</a></span>groupMessageEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::groupMessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>群组消息过滤器 </p>
<p>过滤群组消息。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="adf227d835c99b6cff98e4337fcd7af4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf227d835c99b6cff98e4337fcd7af4f">&#9670;&nbsp;</a></span>groupRequestEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::groupRequestEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_group_request_event.html">GroupRequestEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>加入群组事件过滤器 </p>
<p>过滤加入群组的事件。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="a0039428f19f148edd959f9edaa8ae87d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0039428f19f148edd959f9edaa8ae87d">&#9670;&nbsp;</a></span>instance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cool_q_1_1_service_engine.html">ServiceEngine</a> * CoolQ::ServiceEngine::instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回单例函数 </p>
<p>返回当前引擎的单例，这个单例必须是手动创建的，此方法不会主动创建任何对象。 </p>

</div>
</div>
<a id="a87c508a34ea34b5ce4f2121039833840"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87c508a34ea34b5ce4f2121039833840">&#9670;&nbsp;</a></span>masterChangeEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::masterChangeEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_master_change_event.html">MasterChangeEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>管理员变更事件过滤器 </p>
<p>过滤管理员变更的事件。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="aad68859ef2565df3ff0463126f6f09ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad68859ef2565df3ff0463126f6f09ab">&#9670;&nbsp;</a></span>memberJoinEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::memberJoinEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_member_join_event.html">MemberJoinEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>成员添加事件过滤器 </p>
<p>过滤成员添加的事件。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="a8890bc2a4536435f295635756d64e12c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8890bc2a4536435f295635756d64e12c">&#9670;&nbsp;</a></span>memberLeaveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::memberLeaveEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_member_leave_event.html">MemberLeaveEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>成员退出事件过滤器 </p>
<p>过滤成员退出的事件。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<a id="a886d670a155e0cb0ec069ab39abf54eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a886d670a155e0cb0ec069ab39abf54eb">&#9670;&nbsp;</a></span>privateMessageEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CoolQ::ServiceEngine::privateMessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_cool_q_1_1_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>私有消息过滤器 </p>
<p>过滤私有消息。如果返回 true，就代表过滤；返回 false，代表不过滤。 此方法默认有调用模块的实现，如果继承，需要调用基类的此方法。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/Users/echow/Documents/GitHub/qtassistant/CoolQPortal/<a class="el" href="_cool_q_service_engine_8h_source.html">CoolQServiceEngine.h</a></li>
<li>C:/Users/echow/Documents/GitHub/qtassistant/CoolQPortal/CoolQServiceEngine.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
